import { defineStore } from 'pinia'

export const useCounterStore = defineStore('kfdd', ()=>{
    let state=reactive('')
    let orderRoomShipVo = reactive({'name':'王治铭'})//基本信息
    let orderRoomUserVo = reactive({'name':'王治铭'})//入住人信息
    let orderRoomCostVo = reactive({'name':'王治铭'})//费用信息
    let orderEditorList = reactive([{'name':'王治铭'}])//操作信息
    let id =ref() //商品列表修改id
    let edithuixian:any=reactive({})
    let increment=(val:any)=> {
        Object.assign(edithuixian,val)
        // edithuixian=val
        //orderRoomShipVo=val
  }
  return { orderRoomShipVo, orderRoomUserVo, orderRoomCostVo,orderEditorList,increment,id,edithuixian,state }
})